html,
body {
  background-color: #333;
  color: #fff;
}

.mytab .col {
  color: #999;
  margin-top: 15px;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0px -10px 10px -10px #111 inset;
  cursor: pointer;
}

.mytab .col.active {
  color: #fff;
  border-radius: 10px 10px 0 0;
  background-color: #202020;
  box-shadow: 0px 0px 10px #111;
}

.myimg {
  margin: 5px 0px;
  position: relative;
}

.myimg .progress {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  height: 12px;
}

.myimg .battery{
  display: none;
  position: absolute;
  width: 60px;
  height: 30px;
  right: 5px;
  top: 5px;
  border-radius: 5px;
  background-color: rgba(0,0,0,0.5);
  background-image: url("/img/bat.png");
  background-size:100% 100%;
}

.battery .bat_bar{
  position: absolute;
  left: 10px;
  top: 7px;
  bottom: 8px;
  width: 40px;
  background-color: #008C23;
}

.battery .bat_txt{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  color: #FFF;
  line-height: 28px;
}

.mytitle {
  border-left: 8px solid #999;
  padding-left: 8px;
}

.mytitle.online {
  border-left-color: #00B22D;
}

.mytitle h5 {
  font-size: 1rem;
  display: inline;
}

.mytitle span {
  float: right;
  color: #999;
}

.mytitle i {
  display: none;
  padding: 0 5px;
  color: #999;
}

.mytab .col.active .mytitle i {
  display: inline;
}

.mytitle i:hover {
  font-weight: bold;
  color: #fb0;
}


.card.dark {
  background-color: #000;
  border: 0px;
  border-radius: 10px;

  box-shadow: 0px 0px 6px #0a0a0a;
}

.card.dark .card-header {
  background-color: #181818;
  border-bottom: 0;
}

.card.dark .card-header:first-child {
  border-radius: 10px 10px 0 0;
}

.card hr {
  border-top-color: #222;
}

.btn-warning {
  background-color: #fb0;
  border-color: #ea0;
}

.btn-warning:hover {
  background-color: #ea0;
  border-color: #d90;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
  background-color: #fb0;
  color: #000;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
  background-color: rgb(52, 58, 64);
  color: #888;
}

.myicon {
  opacity: 0.3;
}

.myicon.active {
  opacity: 1;
}

.myicon .t {
  overflow: hidden;
}

;

.myicon .b {
  overflow: hidden;
}


#wifi {
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 40px;
  ;
  background-image: url("/img/wifi.png");
  background-position-x: 0;
  background-position-y: -55px;
}

#lte {
  display: block;
  text-align: left;
  margin: 0 auto;
  width: 50px;
  height: 40px;
  ;
  background-image: url("/img/lte.png");
  background-position-x: 0;
  background-position-y: -55px;
}

#lte .svr {
  font-weight: bolder;

}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #fff;
  background-color: #000;
  border-color: #000;
  border-radius: 10px 10px 0 0;
}

.nav-tabs .nav-link {
  color: #666;
}

.btn.disabled,
.btn:disabled {
  opacity: 1;
}

.jconfirm .jconfirm-box {
  background: #222;
  border: 1px solid #666;
  box-shadow: 0px 0px 10px #000;
}

#minqp,
#maxqp {
  display: none;
}

#toolbar{
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #343a40;
  color: #fff;
  border-radius: 0 0 0 15px;
  padding-left: 13px;
  padding-right: 10px;
  z-index: 999;
  box-shadow: 0px 0px 5px #111;
}

.dropdown-menu{
  min-width: 5rem;
}

#ptzFrame{
  position: absolute;width: 120px;height: 120px;bottom:15px;right:15px; 
  padding-left: 15px;
  padding-right: 15px;
}
#ptzFrame .col-4{
  padding: 0;
}
#ptzFrame button{
  width: 36px;
  height: 36px;
  margin: 2px;
  font-size: 20px;
  text-align: center;
  padding: 0px;
  opacity: 0.3;
}

#ptzFrame button:hover{
  opacity: 1;
}